import numpy as np

# 创建一个NumPy数组
arr = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 5, 15], [11, 12, 13]])

# 假设我们想要查找第一列值为4且第二列值为5的行
# 使用布尔索引和逻辑与操作符&
# rows_indices = np.where((arr[:, 0] == 4) & (arr[:, 1] == 5))[0]
rows_indices = np.where((arr[:, 0] == 4) & (arr[:, 1] == 5))[0]
print(rows_indices[0])